<template>
  <div class="newlist">
   
    <yhj></yhj>

  </div>
</template>
<script>
import yhj from "../../../components/youhuijuan/YHJ.vue";
export default {
  props: ["id"],
  data() {
    return {
      active: 0,
      datalist: [
        { id: 0, title: "通用券", type: 1 },
        { id: 1, title: "商品券", type: 2 },
        { id: 2, title: "品类券", type: 3 },
      ],
    };
  },
  created() {
    console.log();
  },
  methods: {
    getac1() {
      this.active = 1;
      // console.log(this.active);
    },
    getac2() {
      this.active = 2;
      console.log(this.active);
    },
    getac3() {
      this.active = 3;
      console.log(this.active);
    },
  },
  components: {
    yhj,
  },
};
</script>
<style lang="scss">
.newlist {
  .shuju {
    color: #fff;
  }
}
</style>